//
//  HLMineViewController.m
//  HanlinWeather
//
//  Created by 任翰林 on 17/1/13.
//  Copyright © 2017年 任翰林. All rights reserved.
//

#import "HLMineViewController.h"
#import <Masonry.h>
#import "mineTableView.h"
#import "AuthCodeViewController.h"
@interface HLMineViewController ()

@end

@implementation HLMineViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
     self.view.backgroundColor = [UIColor whiteColor];
    [self setUpUI];
}

- (void)setUpUI
{

    mineTableView * mineTable = [[mineTableView alloc]initWithFrame:self.view.bounds style:UITableViewStylePlain];
    [self.view addSubview:mineTable];
    mineTable.tablePushBlock = ^(NSInteger section ,NSInteger row){
        if (row == 0) {
            [self.navigationController pushViewController:[AuthCodeViewController new] animated:YES];
        }
    };
    
    
}



- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
